from abc import ABC, abstractmethod
from typing import List

# 检索的基类。要定义方法retrieve
class BaseRetriever(ABC):
    @abstractmethod
    def retrieve(self, query: str) -> str:
        pass
